package com.yonyou.gmmc.service.points.dao;


import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.points.model.TmCouponInfo;
import tk.mybatis.mapper.common.Mapper;
@OracleDb
public interface TmCouponInfoMapper extends Mapper<TmCouponInfo> {
    
    public List<TmCouponInfo> selectCoupon(@Param("bcId") String bcId,@Param("tcId") String tcId,@Param("dealerCode") String dealerCode,@Param("batchId") String batchId);
    
    public Integer checkFans(@Param("userId") Integer userId);
    
    public String selectTcName(@Param("tcId") String tcId);
    
    public List<Integer> findUserList(Map<String,Object> map);
    
    List<String> queryCouponInfoModel(@Param("batchId") String batchId,@Param("mType") Integer mType);
}